<div class="right-content fl">
  <div class="common-tip">
    <a href="javascript:void(0)" class="home">Home </a>/
    <a href="javascript:void(0)" class="tip"> 模型模式 </a>/
    <a href="javascript:void(0)" class="tip"> 编辑模型 </a>/
    <a href="javascript:void(0)" class="tip"> 算法设置 </a>
  </div>
  <ul class="clearfix process">
    <li class="process-tab ml10 pr">
      <div>
        <span class="active">基本信息</span>
        <i class="pa"></i>
      </div>
      <i class="active pa"></i>
    </li>
    <li class="process-tab pr">
      <i class="process-i active"></i>
      <span class="active">算法设置</span>
      <i class="i-text pa"></i>
      <i class="pa active"></i>
    </li>
    <li class="process-tab pr">
      <i class="process-i"></i>
      <span>上传数据</span>
      <i class="pa"></i>
    </li>
    <li class="process-tab pr">
      <i class="process-i"></i>
      <span>数据探索</span>
      <i class="pa"></i>
    </li>
    <li class="process-tab pr">
      <i class="process-i"></i>
      <span>输入项设置</span>
      <i class="pa"></i>
    </li>
    <li class="process-tab pr">
      <i class="process-i"></i>
      <span>展示效果图设置</span>
      <i class="pa"></i>
    </li>
    <li class="process-tab active pr">
      <i class="process-i"></i>
      <span>结果</span>
    </li>
  </ul>
  <div class="clearfix">
    <div class="bgff algo-content fl">
      <div class="search clearfix">
        <span>|</span><span class="ml15">算法库</span>
        <div class="pr fr search-block">
          <input type="text" placeholder="输入关键字搜索" id="search"/>
          <i class="pa" @click="getAllData()"></i>
        </div>
        <div class="category mt10" id="aiTypeTab">
          <span attr-link="tab1" v-for="(item, index) in dataType" :value="item.code" @click="queryByType">{{item.name}}</span>
        </div>
        <div class="algo-lis" id="tab1">
          <div class="item-block" v-for="(item, index) in dataList">
            <div class="fl">
              <span class="mt15 ml20">{{item.name}}</span>
              <p>{{item.jDescribe}}</p>
            </div>
            <div class="fr mr10">
              <a class="mr10 go-detail" @click="look(item.aiDescribe,item.name,item.jDescribe,'look')">查看</a>
              <a v-if ="item.status==1" @click="add(item.id,item.name,'add')">使用</a>
              <span v-if ="item.status==0" style="font-size: 14px">暂未开放</span>
            </div>
          </div>
        </div>
        <div class="algo-lis" id="tab2"></div>
        <div class="algo-lis" id="tab3"></div>
      </div>
    </div>
    <div class="fr bgff selected-algo" id="cleckAi">
      <div class="selected-head">
        <span>|</span><span class="ml15">已选算法</span>
      </div>


      <div class="selected-item" v-for="(item, index) in currentAistList">
        <span class="pl30">{{item.name}}</span>
        <span class="args-setting">参数设置</span>
        <span class="del fr ml10 delete">删除</span>
        <input type="text" style="display: none" :value="item.id"/>
      </div>
    </div>
  </div>
  <div class="margin-auto mt30" style="width:400px;">
    <a class="cancel-btn" @click="goBack()">上一步</a>
    <a class="next-btn ml20" @click="submit()">下一步</a>
  </div>
  <div id="details" class="bgff algo-detail pr" style="display: none;">
    <div class="detail-title">|
      <span class="ml15">算法详情</span>
      <span class="fr x-span" @click="closelayer()">×</span>
    </div>
    <hr/>
    <div class="details-algo">
      <h2 class="mt30" id="detailsAiName">算法名称</h2>
      <div class="mb20">
        <h6 class="mb20 mt10">算法简介</h6>
        <p class="mt15" id="AiDescribe"></p>
      </div>
      <div class="mb20">
        <h6 class="mb20 mt10">算法详细介绍</h6>
        <p class="mt15" id="detailsAiDescribe"></p>
      </div>
    </div>
  </div>
  <div id="args-add" class="bgff add-args-setting" style="display: none;">
    <div class="basic-div">|
      <span class="ml15">算法设置</span>
      <span class="fr x-span" @click="closelayer()">×</span>
    </div>
    <hr/>
    <div class="add-content">
      <div class="add-center" id="aiArgs">

      </div>
    </div>
    <hr/>
  </div>
</div>


